import { HTMLUtil } from "../../../../../com/gengine/utils/HTMLUtil";
type int = number;
//class MWPropertyItemData
    
    export  class MWPropertyItemData
    {
        

        public get propertyDec(): string
        {
            return this.name + this.property;
        }

        public get propertyHtmlDec(): string
        {
            return HTMLUtil.addColor(this.name, "#f0ea3f") + HTMLUtil.addColor(this.property.toString(), "#F1FFB1");
        }

        public get nameLength(): int
        {
            var loc1=this.name + this.property.toString();
            return this.totleLength - loc1.length;
        }

        public get nextLvPropertyDec(): string
        {
            return this.name + (this.property + this.addNum);
        }

        /* internal */ /* const */totleLength: int=15;

        public static /* const */TypeName_Main: string="MWPropertyItemData.TypeName_Main";

        public static /* const */TypeName_Daemon: string="MWPropertyItemData.TypeName_Daemon";

        public /* var */needShowArrow: Boolean;

        public /* var */isAdvance: Boolean;

        public /* var */addNum: int;

        public /* var */name: string;

        public /* var */type: int;

        public /* var */property: int;

        public /* var */isUpgradeSucceed: Boolean;

        public /* var */typeName: string;
    }
